package cn.ulc.socket.admin.service.template;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.template.TemplateDTO;
import cn.ulc.socket.admin.model.dto.template.TemplateDetailDTO;
import cn.ulc.socket.admin.model.dto.template.TemplateListDTO;
import cn.ulc.socket.admin.model.param.template.TemplateCompanyParam;
import cn.ulc.socket.admin.model.param.template.TemplateContentParam;
import cn.ulc.socket.admin.model.param.template.TemplateSaveParam;
import cn.ulc.store.entity.Company;

public interface TemplateServ {

  TemplateListDTO findListPage(String key, String status, PaginationParam param);

  Company findCompanyInfo();

  Long saveCompany(TemplateCompanyParam param);

  TemplateDetailDTO findContent(Long id);

  Long saveContent(TemplateContentParam param);

  TemplateDTO findOne(Long id);

  Long save(TemplateSaveParam param);

  Boolean changeStatus(Long id, AvailableStatus status);

  Boolean deleted(Long id);
}
